package cn.stylefeng.guns.modular.fi.mapper;

import cn.stylefeng.guns.modular.fi.entity.FiHaTempCarAppStand;
import cn.stylefeng.guns.modular.fi.model.params.FiHaTempCarAppStandParam;
import cn.stylefeng.guns.modular.fi.model.params.FiTempCarAppStandParam;
import cn.stylefeng.guns.modular.fi.model.result.FiHaTempCarAppStandApproveResult;
import cn.stylefeng.guns.modular.fi.model.result.FiHaTempCarAppStandResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 临时车超额审批标准 Mapper 接口
 * </p>
 *
 * @author wp
 * @since 2025-03-10
 */
public interface FiHaTempCarAppStandMapper extends BaseMapper<FiHaTempCarAppStand> {

    /**
     * 获取列表
     *
     * @author wp
     * @Date 2025-03-10
     */
    List<FiHaTempCarAppStandResult> customList(@Param("paramCondition") FiHaTempCarAppStandParam paramCondition);

    /**
     * 获取map列表
     *
     * @author wp
     * @Date 2025-03-10
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") FiHaTempCarAppStandParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author wp
     * @Date 2025-03-10
     */
    Page<FiHaTempCarAppStandResult> customPageList(@Param("page") Page page, @Param("paramCondition") FiHaTempCarAppStandParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author wp
     * @Date 2025-03-10
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") FiHaTempCarAppStandParam paramCondition);
    int isRangeExist(@Param("paramCondition") FiHaTempCarAppStandParam paramCondition);

    Page<FiHaTempCarAppStandApproveResult> customApprovePageList(@Param("page") Page page, @Param("paramCondition") FiHaTempCarAppStandParam paramCondition, @Param("condition") String condition);

}
